﻿using System.Web;
using System.Web.Optimization;

namespace RbacSharp.Portal
{
    public class BundleConfig
    {
        // For more information on bundling, visit https://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/Scripts/Angular").Include(
                        "~/node_modules/core-js/client/core.min.js",
                        "~/node_modules/zone.js/dist/zone.min.js",
                        "~/node_modules/systemjs/dist/system.js"
                        ));
 
            // 使用要用于开发和学习的 Modernizr 的开发版本。然后，当你做好
            // ready for production, use the build tool at https://modernizr.com to pick only the tests you need.
            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap/bootstrap.css",
                      "~/fonts/css/font-awesome.css",
                      "~/Content/ZcAdmin.css",
                      "~/Content/ZcAdmin-skins.css",
                      "~/Content/zTreeStyle.css",
                      "~/Content/jquery-ui.css",
                      "~/Content/wijmo.min.css"
                      ));
        }
    }
}
